#include "CFrames.h"
#include "CCamera.h"

CFrames::CFrames(void)
{
}

CFrames::~CFrames(void)
{
}

void CFrames::SetFrameRect(RECT frame) 
{
	m_rFrameRect.top	 = frame.top;
	m_rFrameRect.left	 = frame.left;
	m_rFrameRect.right	 = frame.right	+ frame.left;
	m_rFrameRect.bottom = frame.bottom + frame.top ;
}

void CFrames::SetCollisionRect(RECT collision)
{
	m_rCollisionRect.top	 = collision.top;
	m_rCollisionRect.left	 = collision.left;
	m_rCollisionRect.right	 = collision.right	+ collision.left;
	m_rCollisionRect.bottom  = collision.bottom + collision.top ;
}
void CFrames::SetWeaponRect(RECT weapon)
{
	m_rWeaponRect.top	  = weapon.top;
	m_rWeaponRect.left   = weapon.left;
	m_rWeaponRect.right  = weapon.right  + weapon.left;
	m_rWeaponRect.bottom = weapon.bottom + weapon.top;
}

